package library.service;

import library.dao.DaoManager;

abstract public class ServiceImpl implements Service {

    protected DaoManager daoManager = null;

    public ServiceImpl() {
    }

    public ServiceImpl(DaoManager daoManager) {
        this.daoManager = daoManager;
    }

    @Override
    public DaoManager getManager() {
        return daoManager;
    }

    @Override
    public void setManager(DaoManager daoManager) {
        this.daoManager = daoManager;
    }
}